<form id="decorateForm" method="POST" action="decorate.php?act=added" enctype="multipart/form-data">
<table width="100%">
<tr>
<td>材料名称</td>
<td><input type="text" name="sName" id="sName" /></td>
</tr>
<tr>
<td>装饰位置</td>
<td>
<select id="nPosit" name="nPosit">
<option value="0">选择装饰位置</option>
<option value="1">墙面</option>
<option value="2">墙面悬挂</option>
<option value="3">地面</option>
<option value="4">地面摆放</option>
<option value="5">坠饰</option>
<option value="6">柜台</option>
<option value="7">垃圾桶</option>
</select>
</td>
</tr>
<tr>
<td>销售价格</td>
<td>
<select id="nPriceType" name="nPriceType">
<option value="0">选择价格类型</option>
<option value="1">金币</option>
<option value="2">虚拟币</option>
</select>
<input type="input" name="nPrice" id="nPrice" />
</td>
</tr>
<tr>
<td>折扣</td>
<td><input type="text" id="nRebate" name="nRebate" value="1.0" /></td>
</tr>
<tr>
<td>材料说明</td>
<td><textarea id="sDescript" name="sDescript" rows="5" cols="40"></textarea></td>
</tr>
<tr>
<td>有效时间</td>
<td><input type="text" id="nValid" name="nValid" />（单位为秒，0表示永久有效）</td>
</tr>
<tr>
<td>素材图片</td>
<td><input type="file" id="sUrl" name="sUrl" /></td>
</tr>
<tr>
<td></td>
<td align="left"><input type="submit" value="添加装修" /></td>
</tr>
</table>
</form>